#!/bin/bash
source /etc/profile

tpid=`ps -ef|grep ansible-spring-example1-0.0.1.jar |grep -v grep|grep -v kill|awk '{print $2}'`
if [ ${tpid} ]; then
echo 'Kill Process!'
kill -9 $tpid
fi
